package com.wangyadong.hobby.schedule.jobtask.linkedlist;

/**
 * <p>
 *
 * @author <714037465@qq.com>
 * @since 2018/7/318:41
 **/
public interface List<E> {


    int size();

    boolean isEmpty();

    E get(int i) throws IndexOutOfBoundsException;

    E set(int i) throws IndexOutOfBoundsException;

    void add(E e) throws IndexOutOfBoundsException;

    E remove(int i) throws IndexOutOfBoundsException;


}
